import request from '@/utils/request'

// 查询大屏历史 列表
export function listRecordHistory(query) {
  return request({
    url: '/showcase_2050/recordHistory/list',
    method: 'get',
    params: query
  })
}

// 查询大屏历史 详细
export function getRecordHistory(ID) {
  return request({
    url: '/showcase_2050/recordHistory/' + ID,
    method: 'get'
  })
}

// 新增大屏历史
export function addRecordHistory(data) {
  return request({
    url: '/showcase_2050/recordHistory',
    method: 'post',
    data: data
  })
}

// 修改大屏历史
export function updateRecordHistory(data) {
  return request({
    url: '/showcase_2050/recordHistory',
    method: 'put',
    data: data
  })
}

// 删除大屏历史
export function delRecordHistory(ID) {
  return request({
    url: '/showcase_2050/recordHistory/' + ID,
    method: 'delete'
  })
}
